package lesson1;
public class Team {

    Student[] students;
    public Team(){
        students=new Student[3];
    }
    public void addStudent(Student s,int i){
        if (i<students.length){
//            Student[i]=students;
        }

    }
    public void listStudent(){
        for (int i=0;i<students.length;i++){
            System.out.println("学号为"+this.students[i].studentNo+"的姓名为："+this.students[i].studentName);
        }
    }
}
